package TAProgram;

public class OperatorType {
    String name; // + - * /

    public OperatorType(String name) {
        this.name = name;
    }

    public OperatorType(OperatorType operatorType) {
        this.name = operatorType.name;
    }

    @Override
    public String toString() {
        if (this.name == null){
            return "";
        }
        return this.name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
